#基础镜像
FROM tomcat:alpine

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone


WORKDIR /usr/local/tomcat/webapps/

RUN rm -rf *
COPY *.war  ROOT.war

#Expose http port
EXPOSE 8080

CMD ["/usr/local/tomcat/bin/catalina.sh", "run"]
